package com.alibaba.citrus.ots.platform.enhance.api.scitem;

import com.alibaba.citrus.ots.platform.enhance.dto.api.request.EditScItemRelCategoryRequest;
import com.alibaba.citrus.ots.platform.enhance.dto.api.request.EditScItemRequest;
import com.alibaba.citrus.ots.platform.enhance.dto.api.request.IdQueryRequest;
import com.alibaba.citrus.ots.platform.enhance.dto.api.request.QueryScItemRequest;
import com.alibaba.citrus.ots.platform.enhance.dto.api.response.ScItemResponse;
import com.epoch.app.otsplatformenhance.model.dto.ScItemSDO;
import com.alibaba.cz.base.tool.page.PageResult;
import com.alibaba.cz.base.tool.result.Result;

import java.util.List;

/**
 * @author zls
 * @description: 货品接口
 * @date 2021/9/9 15:30
 */
public interface ScItemWriteService {
    /**
     * 创建货品
     * @param scItemSDO
     * @return
     */
    Result<Boolean> createScItem(ScItemSDO scItemSDO);

    /**
     * 编辑货品
     *
     * @param request
     * @return
     */
    Result<Boolean> editScItem(EditScItemRequest request);

    /**
     * 给货品关联类目
     *
     * @param scItemSDO
     * @return
     */
    Result<Boolean> editScItemRelCategory(ScItemSDO scItemSDO);
}
